package com.yicong.ants.ui.me;

import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.cchao.simplelib.ui.activity.BaseActivity;
import com.yicong.ants.Constants;
import com.yicong.ants.R;

/**
 * 广告点击展示落地页时提示给用户【广告渠道 和 谨慎下单】
 * @author cch
 * @version 11-23
 */
public class AdClickTipActivity extends AppCompatActivity {
    TextView textView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE); //comment this line if you need to show Title.
        setContentView(R.layout.ad_click_tip_activity);

        textView = findViewById(R.id.text);
        textView.setText(getIntent().getStringExtra(Constants.Extra.Content));
        findViewById(R.id.confirm).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
